/**
 * 设备台账列表
 * author harry
 */
const deviceLedger = {
  list: [
    {
      title: '序号',
      dataIndex: 'index',
      key: 'index',
      render: () => { },
    },
    {
      title: '设备名称',
      dataIndex: 'deviceName',
      key: 'deviceName',
      render: (text) => (
        <>
          <div>{text.substring(0, 10)}</div>
          <div>{text.substring(10)}</div>
        </>
      )
    },
    {
      title: '设备编号',
      dataIndex: 'deviceNo',
      key: 'deviceNo',
      render: (text) => (
        <>
          <div>{text.substring(0, 10)}</div>
          <div>{text.substring(10)}</div>
        </>
      )
    },
    {
      title: '设备级别',
      dataIndex: 'deviceLevelStr',
      key: 'deviceLevel',
    },
    {
      title: '设备类型',
      dataIndex: 'deviceTypeName',
      key: 'deviceType',
    },
    {
      title: '使用部门',
      dataIndex: 'groupName',
      key: 'groupName',
    },
    {
      title: '责任人',
      dataIndex: 'chargePerson',
      key: 'chargePerson',
    },
    {
      title: '创建时间',
      dataIndex: 'createdTime',
      key: 'createdTime',
    },
    {
      title: '台账状态',
      dataIndex: 'ledgerStatusStr',
      key: 'ledgerStatus',
    },
    {
      title: '运行状态',
      // dataIndex: 'runStatusStr',
      key: 'runStatusStr',
      render: () => { },
    },
    {
      title: '操作',
      dataIndex: '',
      align: 'right',
      key: 'x',
      render: () => { },
    },
  ],
};

export default deviceLedger;
